package com.woniuxy.store.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zz
 * @since 2023-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("member_level")
public class MemberLevel implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "member_level_id", type = IdType.AUTO)
    private Integer memberLevelId;

    /**
     * 关联的商铺ID
     */
    private Integer storeId;

    /**
     * 等级
     */
    private Integer level;

    /**
     * 升级所需分数
     */
    private Integer upgradeScore;

    /**
     * 本等级对应折扣
     */
    private Double levelDiscount;


}
